import request from '@/utils/request'

// 新增服务分类
export function queryFile(data) {
  return request({
    url: '/system/UploadFile/list',
    method: 'get',
    params: data
  })
}

export function updateFile(data) {
  return request({
    url: '/system/UploadFile',
    method: 'put',
    data: data
  })
}

export function deleteFile(id) {
  return request({
    url: '/system/file/'+id,
    method: 'delete'
  })
}
